<?php


namespace app\api\ctrl;


use app\service\Predis;


class DbCtrl extends BaseCtrl
{
    public function db()
    {
        $goodsBus = new \app\common\business\Goods();
        $info = $goodsBus->getById(14);
        p($info);
        echo json_encode($info);
    }
}